@extends('front.layout')
@section('title','视频详情')
@section('video','class=current')
@section('content')
    <div class="past_top clearfix">
        <div class="past_left">
            <div class="past_left_title">{{$oVideo->name}}</div>
            <div class="past_left_video">
                <video controls width="600">
                    <source src="{{$oVideo->website}}" type="video/mp4">
                    Download the
                    <a href="{{$oVideo->website}}">MP4</a>
                    video.
                </video>
            </div>
            <div class="online_class_share">
                <span>分享到：</span>
                <a href="javascript:void(0)" onclick="erweima()"><img src="/res/images/icon_weixin.jpg"/></a>
            </div>
        </div>

        <div id="char_pop" class="chat_pop" style="display: none">
            <div id="char_close" class="chat_pop_top"><a onclick="Pop_close()" class="chat_pop_close"></a></div>
            <div class="chat_pop_body">
                <img src="/res/images/1.png" />
                <p>使用微信扫一扫，并将网页分享给好友</p>
            </div>
        </div>

        <div class="past_right">
            <div class="past_intro">
                <div class="title_box">本期简介</div>
                <div class="export_this_list">
                    <div class="export_this_ship clearfix">
                        <div class="left_export">
                            <div class="export_base">
                                {{$oVideo->profile}}
                            </div>

                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
    <div class="past_export">
        <div class="title_box">本期嘉宾</div>
        <div class="export_this_list">
            <div class="export_this_ship clearfix">
                <div class="left_export"><img src="{{$oVideo->expert->thumb}}"></div>
                <div class="right_export">
                    <div class="export_base">
                        <p class="name">{{$oVideo->expert->name}}</p>
                        <p><b>科室：</b>{{$oVideo->expert->department}}</p>
                        <p><b>职称：</b>{{$oVideo->expert->position}}</p>
                    </div>
                    <div class="export_this_intro">
                        <a href="/expert/info/{{$oVideo->expert->id}}">【详情】</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script>
        function erweima(){
            $.blockUI({
                message:$("#char_pop"),
                css:{border:'none'}
            });
        }
        function Pop_close(){
            $.unblockUI();
        }
    </script>
@endsection
